import sys,math
from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
if __name__ == '__main__':
    app=QApplication(sys.argv)
    win=QWidget()
    lab1=QLabel()
    lab1.setPixmap(QPixmap('panda.jpg'))
    vbox=QVBoxLayout()
    vbox.addWidget(lab1)
    win.setLayout(vbox)
    win.setWindowTitle("qpixmap")
    win.show()
    sys.exit(app.exec_())